package com.dc.chat.app.biz;

import com.dc.chat.entity.dao.CommonMessage;
import com.dc.chat.entity.dao.FeedBack;
import com.dc.chat.entity.dao.User;
import com.dc.chat.entity.to.ResponseBean;
import com.dc.chat.entity.to.back.AddSensitiveReq;

import java.util.List;

public interface BackBiz {
    ResponseBean<String> login(String username, String password);

    ResponseBean<Integer> getOnlineNum();

    ResponseBean<List<User>> getEditUserList();

    ResponseBean<List<FeedBack>> getFeedBack();

    ResponseBean markFeedBack(Integer id);

    ResponseBean deleteFeedBack(Integer id);

    ResponseBean<List<CommonMessage>> getCommonMessage();

    ResponseBean removeCommonMessage(Integer id);

    void addSensitive(AddSensitiveReq req);
}
